#/bin/bash
apt install nginx  -y

apt install mysql-client mysql-server -y

apt install php-cli php-fpm php-curl php-dev php-gd php-json php-mysql php-xml php-zip -y

php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"

php composer-setup.php

php -r "unlink('composer-setup.php');"

mv composer.phar /usr/local/bin/composer

composer config -g repo.packagist composer https://packagist.phpcomposer.com

nginx -v
echo 
mysql -V
echo
php -v
echo
composer -V